<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Orange &mdash; Free Website Template, Free HTML5 Template by FreeHTML5.co</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Free HTML5 Website Template by FreeHTML5.co" />
    <meta name="keywords" content="free website templates, free html5, free template, free bootstrap, free website template, html5, css3, mobile first, responsive" />




    <!-- Facebook and Twitter integration -->
    <meta property="og:title" content=""/>
    <meta property="og:image" content=""/>
    <meta property="og:url" content=""/>
    <meta property="og:site_name" content=""/>
    <meta property="og:description" content=""/>
    <meta name="twitter:title" content="" />
    <meta name="twitter:image" content="" />
    <meta name="twitter:url" content="" />
    <meta name="twitter:card" content="" />

    <link href='https://fonts.googleapis.com/css?family=Work+Sans:400,300,600,400italic,700' rel='stylesheet' type='text/css'>
    <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700" rel="stylesheet">
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="__CSS__/index/style.css">
    <!-- pintuer  -->
    <link rel="stylesheet" href="__CSS__/pintuer.css"/>
    <!-- admin  -->
    <link rel="stylesheet" href="__CSS__/admin.css"/>
    <!-- jquery-1.8.3.min  -->
    <script src="__JS__/jquery-1.8.3.min.js"></script>
    <!-- bootstrap-3.3.4  -->
    <link href="__JS__/bootstrap-3.3.4.css" rel="stylesheet"/>


    <![endif]-->

</head>
<body>
<div class="fh5co-loader"></div>
<div id="page">
    <nav class="fh5co-nav" role="navigation">
        <div class="container">
            <div class="row">
                <div class="left-menu text-right menu-1">
                    <ul>
                        <li class="has-dropdown">
                            <a href="{:url('Services/index')}">旅行吧、骚年！</a>
                            <ul class="dropdown">
                                <li><a href="{:url('Tourism/tourism')}">景点</a></li>
                                <li><a href="{:url('Tourism/tourism_route')}">路线</a></li>
                                <li><a href="{:url('Tourism/tourism_guide')}">导游</a></li>
                                <li><a href="{:url('Tourism/agritainment')}">农家乐</a></li>
                            </ul>
                        </li>
                        <li class="has-dropdown">
                            <a href="{:url('Hotel/index')}">酒店</a>
                            <ul class="dropdown">
                                <li><a href="#">国内</a></li>
                                <li><a href="#">国际</a></li>
                            </ul>
                        </li>
                        <li><a href="{:url('Specialty/index')}">吃货世界</a></li>
                    </ul>
                </div>
                <div class="logo text-center">
                    <div id="fh5co-logo"><a href="{:url('Index/index')}">坪行網</a></div>
                </div>
                <div class="right-menu text-left menu-1">
                    <ul>
                        <li><a href="http://www.12306.cn/mormhweb/">在线票务</a></li>
                        <li><a href="{:url('About/index')}">关于我们</a></li>
                        <li class="has-dropdown">
                            <a>个人中心</a>
                            <ul class="dropdown">
                                <li><a href="{:url('Hotel/order')}">个人订单</a></li>
                            </ul>
                        </li>
                            {$username}
                    </ul>
                </div>
            </div>

        </div>
    </nav>
    <header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner">
        <div class="overlay"></div>
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2 text-center">
                    <div class="display-t">
                        <div class="display-tc animate-box" data-animate-effect="fadeIn">
                            <h1>个人中心</h1>
                            <h2>尽最大的努力，给您更好的体验！</h2>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
    <div style="clear: both;padding: 10px;">
        <a href="javascript:void(expression)" class="list-group-item active">
            国人信息
        </a>
        {volist name='bo' id='vs'}
        <a href="javascript:void(expression)" class="list-group-item">用户名：<span style="padding: 10px;">{$vs.username}</span></a>
        <a href="javascript:void(expression)" class="list-group-item">电话：<span style="padding: 10px;">{$vs.phone}</span></a>
        <a href="javascript:void(expression)" class="list-group-item">邮箱：<span style="padding: 10px;">{$vs.mail}</span></a>
        {/volist}
        <a href="javascript:void(expression)" class="list-group-item">
            <button class="btn btn-primary" onclick="update_info(8)" data-toggle="modal" data-target="#myModal">编辑个人信息</button>
            <button class="btn btn-primary float-right" id="show">查看个人订单</button>
        </a>
        <script>
            var url = "{:url('Hotel/order')}";
            $("#show").click(function(){
                window.location.replace(url);
            })
        </script>
    </div>
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
            <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title" id="myModalLabel">
                    完善个人信息
                </h4>
            </div>
            <form method="post" class="form-x" action="{:url('Personal/user_add')}"  enctype="multipart/form-data" id="form">
                <div class="row">
                    <div class="navbar-header">
                        <div class="col-md-12 col-sm-6 col-sx-6 fh5co-project animate-box left-menu text-left menu-1" data-animate-effect="fadeIn">
                        <div class="col-md-3 col-sm-12 col-sx-6 fh5co-project animate-box">
                            <a href="#"><img src="__IMAGES__/index/a2.jpg" alt="Free HTML5 Website Template by FreeHTML5.co" class="img-responsive"></a>
                        </div>
                            <div class="col-md-9 col-sm-12 col-sx-6 fh5co-project animate-box">
                                {volist name='bo' id='v'}
                                <div class="form-group">
                                    <div class="label">
                                        <label>用户名:</label>
                                    </div>
                                    <div class="field">
                                        <input type="text" name="username" value="{$v.username}" class="input w55">
                                        <div class="tips"></div>
                                    </div>
                                </div>
                                {/volist}
                                <div class="form-group">
                                    <div class="label">
                                        <label>性别:</label>
                                    </div>
                                    <div class="field">
                                        <select name="sex">
                                            <option value="0" class="input">男</option>
                                            <option value="1" class="input">女</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="label">
                                        <label>电话:</label>
                                    </div>
                                    <div class="field">
                                        <input type="text" name="phone" class="input w55">
                                        <div class="tips"></div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="label">
                                        <label>邮箱:</label>
                                    </div>
                                    <div class="field">
                                        <input type="text" name="mail" class="input w55">
                                        <div class="tips"></div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="label">
                                        <label>住址:</label>
                                    </div>
                                    <div class="field">
                                        <div class="docs-methods">
                                            <div id="distpicker">
                                                <span>
                                                    <div class="form-group" id="province">
                                                        <label class="sr-only" for="province">Province</label>
                                                        <select class="form-control" name="address_t[0]"></select>
                                                    </div>
                                                    <div class="form-group" id="city">
                                                        <label class="sr-only" for="city">City</label>
                                                        <select class="form-control" name="address_t[1]"></select>
                                                    </div>
                                                    <div class="form-group" id="district">
                                                        <label class="sr-only" for="district">District</label>
                                                        <select class="form-control" name="address_t[2]"></select>
                                                    </div>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="label">
                                        <label>详细地址:&nbsp;</label>
                                    </div>
                                    <div class="field">
                                        <input type="text" class="input w55" value="" name="address" id="merchant_detailed" data-validate="required:请输入内容" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="field">
                                        <input type="submit" class="button bg-main icon-check-square-o" id="admin_add_tj" value="提交">
                                        <input type="submit" class="btn  button bg-main icon-check-square-o" data-dismiss="modal" value="关闭">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
            </div>
        </div>
    </div>
    <div id="fh5co-started">
        <div class="container">
            <div class="row animate-box">
                <div class="col-md-8 col-md-offset-2 text-center fh5co-heading">
                    <h2>个人中心</h2>
                    <p>四川.成都.成都生态旅游网  CopyRight ©2012-2021 版权所有  咨询电话:028-61765827  028-56468785  18580353587   24小时热线:13852320605 生态QQ客服1 :2009456360   生态QQ客服2:460498892   生态QQ客服3 :368533622</p>
                </div>
            </div>
            <div class="col-md-12 text-center">
                <p>
                <ul class="fh5co-social-icons">
                    <li><a href="#"><i class="icon-twitter"></i></a></li>
                    <li><a href="#"><i class="icon-facebook"></i></a></li>
                    <li><a href="#"><i class="icon-linkedin"></i></a></li>
                    <li><a href="#"><i class="icon-dribbble"></i></a></li>
                </ul>
                </p>
            </div>
        </div>
    </div>
    <div class="row copyright">
        <div class="col-md-12 text-center">

            <p>
            <ul class="fh5co-social-icons">

            </ul>
            </p>
        </div>
    </div>
    <div class="gototop js-top">
        <a href="#" class="__JS__/index-gotop"><i class="icon-arrow-up"></i></a>
    </div>

        </div>
<div class="gototop js-top">
    <a href="#" class="__JS__/index-gotop"><i class="icon-arrow-up"></i></a>
</div>



<script src="__JS__/index/jquery.waypoints.min.js"></script>
<!-- Main -->
<script src="__JS__/index/main.js"></script>
<!-- distpicker -->
<script src="__JS__/distpicker.data.js"></script>
<!-- distpicker -->
<script src="__JS__/distpicker.js"></script>
<!-- main -->
<script src="__JS__/main.js"></script>

</body>
</html>

